

import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
import 'package:jspang/pages/cart/cart_page.dart';
import 'package:jspang/pages/details/details_page.dart';


Handler detailsHandler = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    String goodsId = params['id'].first;
    print(goodsId);
    return DetailsPage(goodsId);
  }
);
Handler cart = Handler(
  handlerFunc: (BuildContext context,Map<String,List<String>> params) {
    return CartPage();
  }
);